import request from '@/utils/request'

// 查询过热蒸汽焓值列表
export function listHan(query) {
  return request({
    url: '/carbonEmission/han/list',
    method: 'get',
    params: query
  })
}

// 查询过热蒸汽焓值列表(分页)
export function pageHan(query) {
  return request({
    url: '/carbonEmission/han/page',
    method: 'get',
    params: query
  })
}

// 查询过热蒸汽焓值详细
export function getHan(id) {
  return request({
    url: '/carbonEmission/han/get/' + id,
    method: 'get'
  })
}

// 新增过热蒸汽焓值
export function addHan(data) {
  return request({
    url: '/carbonEmission/han/add',
    method: 'post',
    data: data
  })
}

// 修改过热蒸汽焓值
export function updateHan(data) {
  return request({
    url: '/carbonEmission/han/edit',
    method: 'post',
    data: data
  })
}

// 删除过热蒸汽焓值
export function delHan(id) {
  return request({
    url: '/carbonEmission/han/remove/' + id,
    method: 'post'
  })
}
